package cometclient;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.persistence.Query;
import comet.DepartementTestBeanRemote;
import comet.DepartementTestBean;
public class DepartementClient {

	public static void main(String[] args) {
		try {
			Context context = new InitialContext();
			DepartementTestBeanRemote beanRemote = (DepartementTestBeanRemote) context
					.lookup("DepartementTestBean/remote");
		} catch (NamingException e) {
			e.printStackTrace();
		}
	}
}
